Stripe\ApiRequestor B

Total Complexity 94
Dependencies 31
Dependents 4
Total lines 616
Lines of code 323
Logical lines of code 182
Comment lines 182
Methods 21
Properties 6

Methods 21

Method Rating Maintainability Complexity Lines of code
_prepareRequest()
A
39 15 60
_specificAPIError()
A
48 14 28
_specificOAuthError()
A
54 8 19
_encodeObjects()
S
55 6 19
handleErrorResponse()
S
57 5 16
_interpretResponse()
S
58 5 13
_defaultHeaders()
S
50 4 27
_requestRaw()
S
54 4 21
_requestRawStreaming()
S
54 4 21
_formatAppInfo()
S
61 4 13
_telemetryJson()
S
57 3 17
requestStream()
S
64 4 9
_processResourceParam()
S
60 3 14
request()
S
64 3 9
_isDisabled()
S
65 3 9
httpClient()
S
71 2 6
__construct()
S
70 2 7
streamingHttpClient()
S
71 2 6
setStreamingHttpClient()
S
80 1 3
resetTelemetry()
S
80 1 3
setHttpClient()
S
80 1 3